package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallCustomerAddressDao;
import com.appkubes.mall.core.entity.MallCustomerAddress;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallCustomerAddressService extends AbstractBaseService<BaseMallCustomerAddressDao, MallCustomerAddress> {

    MallCustomerAddress getOneByEntity(MallCustomerAddress entity);

    List<MallCustomerAddress> selectListByEntity(MallCustomerAddress entity);

    IPage<MallCustomerAddress> selectPageByEntity(IPage<MallCustomerAddress> page);
    IPage<MallCustomerAddress> selectPageByEntity(PageVO pageVO);

    IPage<MallCustomerAddress> selectPageByEntity(MallCustomerAddress entity, IPage<MallCustomerAddress> page);
    IPage<MallCustomerAddress> selectPageByEntity(MallCustomerAddress entity, PageVO pageVO);

    IPage<MallCustomerAddress> selectPageByEntity(MallCustomerAddress entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallCustomerAddress entity);
}
